-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce nRF7120 SoC and board definitions to sdk-nrf #20070
base: main
Are you sure you want to change the base?
Introduce nRF7120 SoC and board definitions to sdk-nrf #20070
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 7ca5f91354ff23165cf965b278e2996d3e1c6cc7 more detailssdk-nrf:
Github labels
List of changed files detected by CI (39)
Outputs:ToolchainVersion: 342151af73 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
You can find the documentation preview for this PR at this link. Note: This comment is automatically posted by the Documentation Publish GitHub Action. |
also shouldn't be e.g. noup in sdk-nrf commit titles, that is for sdk-* OSS repos only |
b6ae797
to
338f9ac
Compare
338f9ac
to
58c71c8
Compare
boards/nordic/nrf7120pdk/Kconfig
Outdated
config NRF_MPC_REGION_SIZE | ||
hex | ||
default 0x1000 | ||
help | ||
Region size for the Memory Protection Controller (MPC) in bytes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be in dts
58c71c8
to
d1e423f
Compare
501616d
to
f73fc0b
Compare
boards/nordic/nrf7120pdk/nrf7120pdk_nrf7120_enga_cpuapp_ns.yaml
Outdated
Show resolved
Hide resolved
f73fc0b
to
40b3dc2
Compare
@nrfconnect/ncs-code-owners |
2de9ef1
to
8f5f539
Compare
8f5f539
to
0c54122
Compare
f8059d9
to
265b144
Compare
cac233a
to
91b3e86
Compare
# at a specific address in memory using the Zephyr SECTION macros. | ||
# So this assert is necessary to avoid accidentatly moving this | ||
# section to a different address. | ||
ASSERT(__nrf_kmu_reserved_push_area == RAM_ADDR, "Error: \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would usage of __kernel_ram_start
help here?
#ifdef __NRF_TFM__ | ||
#include <zephyr/autoconf.h> | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this compiled by tfm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copied from 54L - nrfconnect/sdk-zephyr@e3e053f
See comment:
"We port soc.c to TF-M so that the TF-M image can do the same
configuration that would normally be done by the Zephyr image.
This is done by explicitly including autoconf.h for instance."
91b3e86
to
02fa3b6
Compare
754cde3
to
1bd0368
Compare
Add dts files for nRF7120 Signed-off-by: David Jewsbury <[email protected]> Co-authored-by: Robert Robinson <[email protected]>
1bd0368
to
6e18336
Compare
Add nRF7120 to soc directory Signed-off-by: Robert Robinson <[email protected]> Co-authored-by: David Jewsbury <[email protected]>
6e18336
to
6ccbb5c
Compare
Add board files for nRF7120pdk Signed-off-by: David Jewsbury <[email protected]> Co-authored-by: Robert Robinson <[email protected]>
This adds the nrf7120pdk/cpuapp/ns board variant to sdk-zephyr. It allows to build nrf7120pdk with TF-M in nRF Connect SDK. Once upstreamed to zephyr, commit will become a noup within sdk-zephyr. This is done as a noup as the out-of-tree board extension feature is not available. When zephyrproject-rtos/zephyr#69548 is completed this commit can be reverted and the variant be placed in sdk-nrf. Signed-off-by: Robert Robinson <[email protected]>
Once nrf7120 is upstreamed this commit will be noup in sdk-zephyr. The SoftDevice Controller is a different controller than the open source link layer with a different set of quirks. It should therefore have its own device tree binding. This commit converts the SoftDevice Controller driver to use this new DTS binding instead of reusing the existing one. This commit updates or adds additional overlays for existing samples, applications and tests that were using the open source link layer. Signed-off-by: Robert Robinson <[email protected]>
nRF7120 has been added to soc folder in NCS Therefore, soc_root needs to be added to module.yml Signed-off-by: David Jewsbury <[email protected]>
The license agreement for files within sdk-nrf differs from what will eventually be required from upstream zephyr. All SPDX-License-Identifier: Apache-2.0 have been updated to SPDX-License-Identifier: LicenseRef-Nordic-5-Clause Signed-off-by: Robert Robinson <[email protected]>
Assigned codeowners for new nrf7120 board folder and soc/nordic within nrf. Signed-off-by: Robert Robinson <[email protected]>
6ccbb5c
to
7ca5f91
Compare
#include "nrf7120pdk_nrf7120_cpuflpr.dts" | ||
|
||
&cpuflpr_sram { | ||
reg = <0x200e0000 DT_SIZE_K(124)>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rob-robinson-14 this seems to be identical with the cpuflpr_sram in the main dts for FLPR - is this intended?
PR containing out of tree definitions for nrf7120.